<template>
  <el-dialog
    v-model="model"
    :close-on-click-modal="false"
    :title="title"
    width="415px"
    @close="model = false"
  >
    <div class="content">
      确定要导出合同吗？
    </div>
    <template #footer>
      <span class="dialog-footer">
        <el-button @click="model = false">取消</el-button>
        <el-button type="primary" @click="model = false">
          确认
        </el-button>
      </span>
    </template>
  </el-dialog>
</template>

<script>
import { ref } from 'vue'

export default {
  setup() {
    const model = ref(false)
    const title = ref('是否导出')
    
    function show() {
      model.value = true
    }
    return {
      model,
      show,
      title
    }
  }
}

</script>

<style scoped lang="scss">
.content {
  padding: 14px 0 20px 10px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}
</style>